// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 查询热门比赛 GET /api/statistics/getHotRaces */
export async function getHotRacesUsingGet(options?: { [key: string]: any }) {
  return request<API.RListremenbisaiVO>('/api/statistics/getHotRaces', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询本月各学院第二课堂活动数量 GET /api/statistics/getSecondClassCount/month */
export async function getSecondClassCountByMonthUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSecondClassCountByMonthUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.RListdierketangshuliangVO>('/api/statistics/getSecondClassCount/month', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询今年各学院第二课堂活动数量 GET /api/statistics/getSecondClassCount/year */
export async function getSecondClassCountByYearUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSecondClassCountByYearUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.RListdierketangshuliangVO>('/api/statistics/getSecondClassCount/year', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 统计第二课堂热门活动类型数量 GET /api/statistics/getSecondHotRace */
export async function getSecondHotRaceUsingGet(options?: { [key: string]: any }) {
  return request<API.RListremenbisaiVO>('/api/statistics/getSecondHotRace', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 统计各年级学生的参与第二课堂的活动占比 GET /api/statistics/getStudentGradeCount */
export async function getStudentGradeCountUsingGet(options?: { [key: string]: any }) {
  return request<API.RListGradeStatistic>('/api/statistics/getStudentGradeCount', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询学生参与活动总数 GET /api/statistics/getStudentJoinCount/activity */
export async function getStudentInstructCountFromActivityUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStudentInstructCountFromActivityUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rint>('/api/statistics/getStudentJoinCount/activity', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询学生参与大创立项活动数 GET /api/statistics/getStudentJoinCount/innovation */
export async function getStudentInstructCountFromInnovationUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStudentInstructCountFromInnovationUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rint>('/api/statistics/getStudentJoinCount/innovation', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询学生参与第二课堂活动数 GET /api/statistics/getStudentJoinCount/second */
export async function getStudentInstructCountFromSecondUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStudentInstructCountFromSecondUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rint>('/api/statistics/getStudentJoinCount/second', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询学科竞赛教师指导项目数 GET /api/statistics/getTeacherInstructCount/contest */
export async function getTeacherInstructCountFromContestUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getTeacherInstructCountFromContestUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rstring>('/api/statistics/getTeacherInstructCount/contest', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询大创申报教师指导项目数 GET /api/statistics/getTeacherInstructCount/innovation */
export async function getTeacherInstructCountFromInnovationUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getTeacherInstructCountFromInnovationUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rstring>('/api/statistics/getTeacherInstructCount/innovation', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询第二课堂教师指导项目数 GET /api/statistics/getTeacherInstructCount/second */
export async function getTeacherInstructCountFromSecondUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getTeacherInstructCountFromSecondUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rstring>('/api/statistics/getTeacherInstructCount/second', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 查询个人年度参与活动率 GET /api/statistics/participationRateByUser */
export async function getUserAnnualParticipationRateUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getUserAnnualParticipationRateUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Rstring>('/api/statistics/participationRateByUser', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}
